package cfh.spring.data.jpademo.repository.PagingAndSorting;

import cfh.spring.data.jpademo.model.CoffeeOrder;

import java.util.List;

/**
 * 咖啡订单 分页排序仓储
 *
 * @author chenfh
 * date 2019/7/30
 */
public interface CoffeeOrderPagingAndSortingRepository extends BaseRepository<CoffeeOrder, Long> {
    List<CoffeeOrder> findByCustomerOrderById(String customer);
    List<CoffeeOrder> findByItemsName(String name);
}
